import request from '@/utils/request'

const UPLOAD_ACTION = '/biz/file/upload'
const IMPORT_GOODS_ACTION = '/base/goods/importNode'
const IMPORT_STORE_ACTION = '/store/importNode'
// const IMPORT_ZUORIXIAOSHOU_ACTION = '/cwzuorixiaoshou/importNode'
// const IMPORT_ZUORIPEIJIAN_ACTION = '/cwzuoripeijian/importNode'
export default {
  action() {
    return UPLOAD_ACTION
  },

  action1() {
    return IMPORT_GOODS_ACTION
  },

  action2() {
    return IMPORT_STORE_ACTION
  },
  // action3() {
  //   return IMPORT_ZUORIXIAOSHOU_ACTION
  // },
  // action4() {
  //   return IMPORT_ZUORIPEIJIAN_ACTION
  // },
  // action5() {
  //   return '/cwqitianxiaoshou/importNode'
  // },
  // action6() {
  //   return '/cwbenyuexiaoshou/importNode'
  // },
  // action7() {
  //   return '/cwbenyuepeijian/importNode'
  // },
  // action8() {
  //   return '/cwshangyuemaoli/importNode'
  // },
  // action9() {
  //   return '/cwshangyuepeijian/importNode'
  // },
  // action10() {
  //   return '/cwshangshangyuemaoli/importNode'
  // },
  // action11() {
  //   return '/cwshangshangyuepeijian/importNode'
  // },
  action12() {
    return '/zhzhanghuyue/importNode'
  },
  action13(id) {
    return '/cwmeirimaster/sqbImportNode?id=' + id
  },
  action14() {
    return '/partner/importNode'
  },
  action15() {
    return '/cwmeirimaster/sqbImportNode?id'
  },
  action16() {
    return '/mendian/importNode'
  },

  getListByRelatedId(args) {
    return request.doGet('/biz/file/getListByRelatedId', args)
  },

  downloadByPath(args) {
    return request.doDownload('/biz/file/downloadByPath', args)
  }
}
